/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package marifnst.jse71.using_loop_constructs;

/**
 *
 * @author arifnasution
 */
public class WhileLoop
{
    public void sampleWhileLoop()
    {
        System.out.println("=== sample while loop");
        int i = 0;
        while (i < 5)
        {
            System.out.println("sample while " + i);
            i++;
        }
    }
}
